Tootsville::Infinity-Remove-From-List

Function

Infinity-Remove-From-List names a function, with lambda list (D USER RECIPIENT/S):

Remove someone from a buddy list or ignore list.

Lisp REMOVE-FROM-LIST = JSON removeFromList

Usage

To drop a buddy from the buddy list:

{ buddy: "user-name" }

To attend to someone who had previously been ignored:

{ ignore: "name" }

Status 200 OK

The user was removed from the buddy list or ignore list.

{ from: "removeFromList",
  status: true,
  buddy: "buddy-name" }

{ from: "removeFromList",
  status: true,
  ignore: "ignored-name" }

Status 404 Not Found

The user name given was not found.

{ from: "removeFromList",
  status: false,
  err: "login.notFound" }

Status 412 Precondition Failed

An attempt was made to remove someone from the buddy or ignore list who was not on that list.

{ from: "removeFromList",
  status: false,
  err: "notOnList" }

File

Defined in file src/infinity/legacy-commands.lisp.